package com.insuremonitor.system.domain;

import com.insuremonitor.common.annotation.Excel;
import com.insuremonitor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 保险信息免赔对象 front_insure_config_deduction
 * 
 * @author ruoyi
 * @date 2023-11-21
 */
public class FrontInsureConfigDeduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保险信息免赔ID */
    private Long deductionId;

    /** 保险类型ID */
    @Excel(name = "保险类型ID")
    private Long insureInfoId;

    /** 货物类型 */
    @Excel(name = "货物类型")
    private String goodsType;

    /** 免赔额 */
    @Excel(name = "免赔额")
    private String deductionType;

    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String status;

    public void setDeductionId(Long deductionId) 
    {
        this.deductionId = deductionId;
    }

    public Long getDeductionId() 
    {
        return deductionId;
    }
    public void setInsureInfoId(Long insureInfoId) 
    {
        this.insureInfoId = insureInfoId;
    }

    public Long getInsureInfoId() 
    {
        return insureInfoId;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setDeductionType(String deductionType) 
    {
        this.deductionType = deductionType;
    }

    public String getDeductionType() 
    {
        return deductionType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deductionId", getDeductionId())
            .append("insureInfoId", getInsureInfoId())
            .append("goodsType", getGoodsType())
            .append("deductionType", getDeductionType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
